package com.xw.service;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.Map;
@Service
@Transactional(rollbackFor = Exception.class)
public interface PlayRecordService {

    Map findPlayRecordByUserId(String userId, Integer page, Integer limit);

    Map findPlayRecordByVideoItemId(String userId, String videoItemId);

    Map delPlayRecordByUserId(String userId, String ids);
}
